import { defineStore } from "pinia";

defineStore('adminInfo',()=>{
//定义状态相关内容
const info = ref({})

const setInfo = (newINfo)=>{
    info.value = newInfo
}

const removeInfo = ()=>{
   info.value = {}
}
return {info,setInfo,removeInfo}

},{persist:true})